package decorator
{
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	
	public class AbstractReader extends EventDispatcher implements IReader
	{
		protected var index:uint;
		public function AbstractReader(target:IEventDispatcher=null)
		{
			super(target);
		}
		
		public function read():String
		{
			return null;
		}
		
		public function readArray(offset:uint=0, length:uint=0):Array
		{
			return null;
		}
		
		public function readString():String
		{
			return null;
		}
		
		public function hasNext():Boolean
		{
			return false;
		}
		
		public function isReady():Boolean
		{
			return false;
		}
		
		public function reset():void
		{
			index = 0;
		}
	}
}